/**
 * 
 */
package hu.cubussapiens.owl.editor.internal;

import org.eclipse.jface.viewers.LabelProvider;
import org.semanticweb.owl.model.OWLOntology;

/**
 * @author balage
 *
 */
public class OWLOntologyLabelProvider extends LabelProvider {

	@Override
	public String getText(Object element) {
		if (element instanceof OWLOntology[]){
			return ((OWLOntology[])element)[0].toString();
		}
		return element.toString();
		//return super.getText(element);
	}
	
}
